export CUDA_VISIBLE_DEVICES=$1
cd ../HARL/examples/
tm_id=$2
exp_name=$3
num_env_steps=$4
conda_env_id=$5
env_name=$6
use_reg=$7
load_agent_id=$8
population_model_dirs=$9
last_ego_model_path=${10}
mkdir results/football/$env_name/mappo/$exp_name
nohup python train_ego.py --algo mappo --env football --exp_name $exp_name --additional_reward_id $tm_id --conda_env_id $conda_env_id --num_env_steps $num_env_steps \
--load_agent_id $load_agent_id --fix_agent_id $load_agent_id --env_name $env_name --use_reg $use_reg --population_model_dirs "[$population_model_dirs]" --model_dir $last_ego_model_path > results/football/$env_name/mappo/$exp_name/1.out 2>&1 &